package com.example.express_user.controller;

import com.example.express_user.domain.MyResponse;
import com.example.express_user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("user-open")
public class UserOpenController {

    @Autowired
    UserService userService;
    @RequestMapping("common-user-register")
    public MyResponse commonUserRegister(String userPhone, String userPassword){
        return userService.commonUserRegister(userPhone,userPassword);
    }

}
